﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/AdminMasterPage.master" AutoEventWireup="true" CodeFile="AccountUser.aspx.cs" Inherits="Admin_AccountUser" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    
    <div>
    <div align="center">
        <asp:Label ID="lbAccount" runat="server" Font-Size="18pt"></asp:Label>
    </div>
    <br />
    <br />
    <asp:GridView ID="gvUsers" runat="server" AutoGenerateColumns="False" 
        DataKeyNames="Id" HorizontalAlign="Center" 
        onrowcancelingedit="gvUsers_RowCancelingEdit" 
        onrowdeleting="gvUsers_RowDeleting" onrowediting="gvUsers_RowEditing" 
        onrowupdating="gvUsers_RowUpdating">
        <Columns>
            <asp:BoundField DataField="Id" HeaderText="ID" InsertVisible="False" 
                ReadOnly="True" SortExpression="Id" />
            <asp:BoundField DataField="UserName" HeaderText="UserName" ReadOnly="true" 
                SortExpression="UserName" />
            <asp:BoundField DataField="FirstName" HeaderText="FirstName" 
                SortExpression="FirstName" />
            <asp:BoundField DataField="LastName" HeaderText="LastName" 
                SortExpression="LastName" />
            <asp:CheckBoxField DataField="IsActived" HeaderText="IsActive" 
                SortExpression="IsActived" />
            <asp:CheckBoxField DataField="IsAdmin" HeaderText="IsAdmin" 
                SortExpression="IsAdmin" />
            <asp:CommandField ShowEditButton="True" />
            <asp:CommandField ShowDeleteButton="True" />
        </Columns>
    </asp:GridView>
</div>
    
</asp:Content>

